:root {
    --code-theme-rd: #ec5f67;
    --code-theme-or: #f99157;
    --code-theme-yl: #fac863;
    --code-theme-gn: #99c794;
    --code-theme-cy: #5fb3b3;
    --code-theme-bl: #6699cc;
    --code-theme-vt: #c594c5;
    --code-theme-bn: #ab7967;
    --code-theme-wt: #d8dee9;
    --code-theme-rd-br: #fc929e;
    --code-theme-or-br: #ff8b50;
    --code-theme-yl-br: #f8b94e;
    --code-theme-gn-br: #8ec089;
    --code-theme-cy-br: #88c6be;
    --code-theme-bl-br: #79b6f2;
    --code-theme-vt-br: #c5a5c5;
    --code-theme-bn-br: #5b5b5b;
    --code-theme-wt-br: #e4e8f0;
    --code-theme-gy: #b2b2b2;
}

#write .md-fences {
    color: #efefef !important;
}

/* code color */
.cm-s-inner .cm-keyword {
    color: var(--code-theme-vt-br);
}

.cm-s-inner .cm-atom,
.cm-s-inner.cm-atom {
    color: var(--code-theme-or);
}

.cm-s-inner .cm-number {
    color: var(--code-theme-rd-br);
}

.cm-s-inner .cm-def {
    color: var(--code-theme-bl-br);
}

.cm-s-inner .cm-variable {
    color: #ffffff;
}

.cm-s-inner .cm-variable-2 {
    color: var(--code-theme-vt-br);
}

.cm-s-inner .cm-variable-3 {
    color: #ffffff;
}

.cm-s-inner .cm-string {
    color: var(--code-theme-gn);
}

.cm-s-inner .cm-property {
    color: var(--code-theme-yl);
}

.cm-s-inner .cm-operator {
    color: var(--code-theme-wt);
}

.cm-s-inner .cm-comment,
.cm-s-inner.cm-comment {
    color: var(--code-theme-gy);
}

.cm-s-inner .cm-string-2 {
    color: var(--code-theme-or);
}

.cm-s-inner .cm-meta {
    color: var(--code-theme-vt-br);
}

.cm-s-inner .cm-qualifier {
    color: var(--code-theme-vt-br);
}

.cm-s-inner .cm-builtin {
    color: var(--code-theme-or);
}

.cm-s-inner .cm-bracket {
    color: var(--code-theme-cy-br);
}

.cm-s-inner .cm-tag {
    color: var(--code-theme-rd-br);
}

.cm-s-inner .cm-attribute {
    color: var(--code-theme-vt-br);
}

.cm-s-inner .cm-header,
.cm-s-inner.cm-header {
    color: var(--code-theme-vt-br);
}

.cm-s-inner .cm-quote,
.cm-s-inner.cm-quote {
    color: #7fcc7f;
}

.cm-s-inner .cm-hr,
.cm-s-inner.cm-hr {
    color: hsl(0, 0%, 60%);
}

.cm-s-inner .cm-link,
.cm-s-inner.cm-link {
    color: var(--code-theme-or-br);
}

.cm-negative {
    color: var(--code-theme-rd-br);
}

.cm-positive {
    color: var(--code-theme-gn-br);
}

.cm-header,
.cm-strong {
    font-weight: 700;
}

.cm-error {
    color: #ff7f7f;
}

.cm-invalidchar {
    color: #ff7f7f;
}

.cm-constant {
    color: #42b983;
}

.cm-defined {
    color: #dac37f;
}

div.CodeMirror span.CodeMirror-matchingbracket {
    color: #7fff7f;
}

div.CodeMirror span.CodeMirror-nonmatchingbracket {
    color: #ff9090;
}
